package com.comtop.springboot.templet.modules.sys.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;


/**
 * 系统日志
 * 
 * @author wangjiafang
 * @version 1.0
 * @since 2017-03-08 10:40:56
 */
@TableName("sys_log")
public class SysLogEntity implements Serializable{

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	/**主键id**/
	@TableId("log_id")
	private Long logId;
	/**用户名**/
	private String username;
	/**用户操作**/
	private String operation;
	/**请求方法**/
	private String method;
	/**请求参数**/
	private String params;
	/**执行时长(毫秒)**/
	private Long time;
	/**IP地址**/
	private String ip;
	/**创建时间**/
	private Date createDate;



	public Long getLogId() {
		return logId;
	}

	public void setLogId(Long logId) {
		this.logId = logId;
	}


	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public String getOperation() {
		return operation;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getMethod() {
		return method;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getParams() {
		return params;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getIp() {
		return ip;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public Long getTime() {
		return time;
	}

	public void setTime(Long time) {
		this.time = time;
	}
}
